package com.example.yuntiku.entity;

import java.util.List;

public class Curriculum {
    private int cid;
    private String csection;
    private int fknowledge;
    private int ctype;
    private int productid;
    private List<Curriculum> Children; // 新增的字段，用于保存子课程

    public List<Curriculum> getChildren() {
        return Children;
    }
    public void setChildren(List<Curriculum> subCurricula) {
        this.Children = subCurricula;
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public String getCsection() {
        return csection;
    }

    public void setCsection(String csection) {
        this.csection = csection;
    }

    public int getFknowledge() {
        return fknowledge;
    }

    public void setFknowledge(int fknowledge) {
        this.fknowledge = fknowledge;
    }

    public int getCtype() {
        return ctype;
    }

    public void setCtype(int ctype) {
        this.ctype = ctype;
    }

    public int getProductid() {
        return productid;
    }

    public void setProductid(int productid) {
        this.productid = productid;
    }
}
